CVE-2021-43797
HTTP fails to validate against control chars in header names which may lead to HTTP request smuggling
Description
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.
INFO
Published Date :
Dec. 9, 2021, 7:15 p.m.
Last Modified :
Nov. 21, 2024, 6:29 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2021-43797
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Upgrade affected Netty packages to a non-vulnerable version.
- Apply the appropriate vendor patch or update.
Public PoC/Exploit Available at Github
                                            CVE-2021-43797 has a 3 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2021-43797.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-43797 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2021-43797
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
HTML Java CSS JavaScript Python
A setup to create an Azure App Configuration service with Java
Java
Enables developers to use AWS Identity and Access Management (IAM) to connect to their Amazon Managed Streaming for Apache Kafka (Amazon MSK) clusters.
Java
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-43797 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-43797 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/netty/netty/commit/07aa6b5938a8b6ed7a6586e066400e2643897323 Added Reference https://github.com/netty/netty/security/advisories/GHSA-wx5j-54mm-rqqq Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html Added Reference https://security.netapp.com/advisory/ntap-20220107-0003/ Added Reference https://www.debian.org/security/2023/dsa-5316 Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html Added Reference https://www.oracle.com/security-alerts/cpujul2022.html 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Modified Analysis by [email protected]Feb. 24, 2023 Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2023/dsa-5316 No Types Assigned https://www.debian.org/security/2023/dsa-5316 Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpujul2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:oracle:coherence:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:coherence:14.1.1.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_instant_messaging_server:8.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:1.4.10:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:2.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:banking_deposits_and_lines_of_credit_servicing:2.7:*:*:*:*:*:*:* *cpe:2.3:a:oracle:banking_party_management:2.7.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:banking_platform:2.6.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:coherence:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:coherence:14.1.1.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_design_studio:7.4.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_instant_messaging_server:8.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:1.4.10:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:2.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Jan. 12, 2023 Action Type Old Value New Value Added Reference https://www.debian.org/security/2023/dsa-5316 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jan. 12, 2023 Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 25, 2022 Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned] 
- 
                            Modified Analysis by [email protected]Jun. 16, 2022 Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:coherence:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:coherence:14.1.1.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.15.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_instant_messaging_server:8.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:1.4.10:*:*:*:*:*:*:* *cpe:2.3:a:oracle:helidon:2.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* *cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Apr. 20, 2022 Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned] 
- 
                            Modified Analysis by [email protected]Mar. 25, 2022 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Feb. 19, 2022 Action Type Old Value New Value Changed Description Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final to receive a patch. Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final. 
- 
                            Modified Analysis by [email protected]Feb. 08, 2022 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Changed Reference Type https://security.netapp.com/advisory/ntap-20220107-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20220107-0003/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.3 Added CPE Configuration OR *cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Jan. 21, 2022 Action Type Old Value New Value Changed Description Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.7.1.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.7.1.Final to receive a patch. Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final to receive a patch. 
- 
                            CVE Modified by [email protected]Jan. 10, 2022 Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220107-0003/ [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Dec. 14, 2021 Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N) Changed Reference Type https://github.com/netty/netty/commit/07aa6b5938a8b6ed7a6586e066400e2643897323 No Types Assigned https://github.com/netty/netty/commit/07aa6b5938a8b6ed7a6586e066400e2643897323 Patch, Third Party Advisory Changed Reference Type https://github.com/netty/netty/security/advisories/GHSA-wx5j-54mm-rqqq No Types Assigned https://github.com/netty/netty/security/advisories/GHSA-wx5j-54mm-rqqq Third Party Advisory Added CWE NIST CWE-444 Added CPE Configuration OR *cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* versions up to (excluding) 4.1.71 
Vulnerability Scoring Details
Base CVSS Score: 6.5
Base CVSS Score: 4.3
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.18 }} 0.03%
score
0.39400
percentile
 
                         
                         
                         
                                             
                                            